import { post } from "./http";
const baseURL = "users/";
// 注册
export const getAddSignin = (params) => {
  return post(`${baseURL}add`, params);
};

// 删除数据
export const getDeleteGoodsHelp = (params) => {
  return post(`${baseURL}delete`, params);
};

// 根据ID 修改数据
export const getGoodsHelpEdit = (params) => {
  return post(`${baseURL}update`, params);
};

// 登录
export const getqueryTelephoneLogin = (params) => {
  return post(`${baseURL}get/by/login`, params);
};

// 分页 获取用户
export const getUserList = (params) => {
  return post(`${baseURL}get/page/list`, params);
};

// 根据ID修改数据
export const getUserEdit = (params) => {
  return post(`${baseURL}update`, params);
};

// 上传 文件
export const uploadImageUser = (params) => {
  return post(`${baseURL}upload/image`, params);
};

